{{template "g_header.tpl" .}}
<div class="row">
    <div class="col-xs-12">
        <form class="form-horizontal" role="form" method="post">
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">站点</label>
                <div class="col-sm-9">
                    <input name="Name" type="text" placeholder="站点" value="{{.model.Name}}" class="col-xs-10 col-sm-5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">站点代码</label>
                <div class="col-sm-9">
                    <input name="Code" type="text" placeholder="站点代码" value="{{.model.Code}}" class="col-xs-10 col-sm-5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">城市</label>
                <div class="col-sm-9">
                    <input name="CityName" type="text" placeholder="站点代码" value="{{.model.CityName}}" class="col-xs-10 col-sm-5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">纬度</label>
                <div class="col-sm-9">
                    <input name="Lat" type="text" placeholder="纬度" value="{{.model.Lat}}" class="col-xs-10 col-sm-5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">经度</label>
                <div class="col-sm-9">
                    <input name="Lat" type="text" placeholder="纬度" value="{{.model.Long}}" class="col-xs-10 col-sm-5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">环境</label>
                <div class="col-sm-9">
                    <input name="Env" type="text" placeholder="环境" value="{{.model.Env}}" class="col-xs-10 col-sm-5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">地址</label>
                <div class="col-sm-9">
                    <input name="Address" type="text" placeholder="地址" value="{{.model.Address}}" class="col-xs-10 col-sm-5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">省份</label>
                <div class="col-sm-9">
                    <input name="ProvinceName" type="text" placeholder="省份" value="{{.model.ProvinceName}}" class="col-xs-10 col-sm-5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">海拔</label>
                <div class="col-sm-9">
                    <input name="Altitude" type="text" placeholder="海拔" value="{{.model.Altitude}}" class="col-xs-10 col-sm-5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">监控</label>
                <div class="col-sm-9">
                    <label><input name="Monitors" type="checkbox" {{if .model.Monitors.YL}}checked{{end}} value="0">雨量</label>
                    <label><input name="Monitors" type="checkbox" {{if .model.Monitors.WD}}checked{{end}} value="1">温度</label>
                    <label><input name="Monitors" type="checkbox" {{if .model.Monitors.FXFS}}checked{{end}} value="2">风向风速</label>
                    <label><input name="Monitors" type="checkbox" {{if .model.Monitors.SD}}checked{{end}} value="3">湿度</label>
                    <label><input name="Monitors" type="checkbox" {{if .model.Monitors.QY}}checked{{end}} value="4">气压</label>
                </div>
            </div>
            <div class="clearfix form-actions">
                <div class="col-md-offset-3 col-md-9">
                    <button class="btn btn-info" type="submit">
                        <i class="ace-icon fa fa-check bigger-110"></i>
                        提交
                    </button>

                    &nbsp; &nbsp; &nbsp;
                    <button class="btn" type="reset">
                        <i class="ace-icon fa fa-undo bigger-110"></i>
                        重置
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>
{{template "g_footer.tpl" .}}